package com.ls.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ls.controller.holidaycategory.model.AddCategoryModel;
import com.ls.controller.holidaycategory.model.EditCategoryModel;
import com.ls.controller.holidaycategory.model.GetCategoryModel;
import com.ls.controller.label.model.AddLabelModel;
import com.ls.entity.HolidayCategory;
import com.ls.utils.ResultData;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengyu
 * @since 2024-06-28
 */
public interface IHolidayCategoryService extends IService<HolidayCategory> {
    /** 新增节假日分类 */
    ResultData add(AddCategoryModel model);
    /** 更新节假日分类 */
    ResultData edit(EditCategoryModel model);
    /** 删除节假日分类 */
    ResultData del(Long categoryId);
    /** 查询节假日分类 */
    ResultData getCategory(GetCategoryModel model);
    /** 查询节假日分类能否删除 */
    ResultData getCategoryStatus(Long categoryId);
    /** 查询节假日分类 */
    ResultData getCategoryApp(GetCategoryModel model);
    /** 获取分类详情 */
    ResultData getCategoryDetail(Long categoryId);
}
